package com.qf.day03.method;

public class triangle {

    public static void main(String[] args) {
        sjx(10);
    }

    public static void sjx(int h){
        for (int i = 0; i < h; i++) {
            System.out.print("*");
            for (int j = 0; j < i; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }

}
